package com.crazy.jiakoulachang.service.impl;

import com.crazy.jiakoulachang.mapper.SysLogMapper;
import com.crazy.jiakoulachang.pojo.SysLog;
import com.crazy.jiakoulachang.service.SysLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author: lhy-卢辉宇
 * @date: 2023/6/22 17:42
 * @description:
 */
@Service
public class SysLogServiceImpl implements SysLogService {

    @Resource
    private SysLogMapper sysLogMapper;

    /**
     * 保存日志
     */
    @Override
    public void saveLog(SysLog log) {
        sysLogMapper.saveLog(log);
    }
}
